//
//  EeFieldsCell.swift
//  SmoSky
//
//  Created by zhu xietong on 2018/5/29.
//  Copyright © 2018年 tianrun. All rights reserved.
//

import Foundation
import Eelay

open class EeFieldsCell: JoTableCell{
    public var fields = [FieldView]()
    
    open override func mo_model_reload() {
        var i = 0
        fields.forEach {[weak self] (field) in            
            guard let ws = self else{return}
            field.controller = ws.content_controller
            field.mo.model = DataNode.path(node: "\(FK.fields).\(i)", ws.mo.model, value: NSMutableDictionary())
            i = i+1
        }
        
    }
}
